package org.itheima.game.org.tank.game.model

import org.itheima.game.org.tank.game.Config
import org.itheima.kotlin.game.core.Painter

/**
 * description ：草坪
 * author : chenmengjia
 * email : cmjsp1990@163.com
 * date : 2020/3/14 14:16
 */
class Grass(override var x: Int, override var y: Int) :View {

    override var width: Int=Config.block
    override var height: Int=Config.block

    override fun draw() {
        Painter.drawImage("img/grass.gif", x, y)
    }


}